//
//  YYAboutAppVC.m
//  Project
//
//  Created by Yown on 2024/2/5.
//

#import "YYAboutAppVC.h"
#import "YYAboutAppView.h"

#import <Masonry/Masonry.h>

@interface YYAboutAppVC ()

@property (nonatomic) YYAboutAppView *aboutView;

@end

@implementation YYAboutAppVC

#pragma mark - Life Cycle

+ (void)load {
    [[BIRouteManager sharedInstance] registerCMD:@"about_app" objectOrClass:self];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupViews];
    [self setupLayouts];
}

- (void)setupViews {
    self.yy_navigationItem.title = BILocalizedString(@"about_title");
    self.yy_navigationBar.naviBgColor = [UIColor whiteColor];

    self.aboutView = [YYAboutAppView view];
    [self.view addSubview:self.aboutView];
}

- (void)setupLayouts {
    [self.aboutView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.mas_equalTo(0);
        make.top.mas_equalTo(BINavigationBarHeight);
    }];
}

@end
